package com.dupf.product.dao.mapper;

import com.dupf.product.dao.model.ProductCommonVariant;
import com.dupf.product.dao.model.ProductCommonVariantExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ProductCommonVariantMapper {
    long countByExample(ProductCommonVariantExample example);

    int deleteByExample(ProductCommonVariantExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ProductCommonVariant record);

    int insertSelective(ProductCommonVariant record);

    List<ProductCommonVariant> selectByExample(ProductCommonVariantExample example);

    ProductCommonVariant selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ProductCommonVariant record, @Param("example") ProductCommonVariantExample example);

    int updateByExample(@Param("record") ProductCommonVariant record, @Param("example") ProductCommonVariantExample example);

    int updateByPrimaryKeySelective(ProductCommonVariant record);

    int updateByPrimaryKey(ProductCommonVariant record);
}